package weixin.idea.huodong.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @Title: Entity
 * @Description: 自动发号-号码表
 * @author renlr
 * @date 2014-06-09 14:24:15
 * @version V1.0
 *
 */
@Entity
@Table(name = "weixin_hacodehm", schema = "")
@SuppressWarnings("serial")
public class HAcodeHMEntity implements java.io.Serializable {

	/** 主键 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name = "ID", nullable = false, length = 100)
	private java.lang.String id;
	/** 自动发号Id */
	@Column(name = "HAID", nullable = true)
	private java.lang.String haid;
	/** 用户唯一标识 */
	@Column(name = "openid", nullable = true)
	private java.lang.String opendid;
	/** 号码内容 */
	@Column(name = "NUMBERS", nullable = true, length = 400)
	private java.lang.String numbers;
	/** 创建时间 */
	@Column(name = "ADDTIME", nullable = true)
	private java.util.Date addtime;
	/** 公众号Id */
	@Column(name = "accountId", nullable = true)
	private java.lang.String accountid;

	public java.lang.String getId() {
		return id;
	}

	public void setId(java.lang.String id) {
		this.id = id;
	}

	public java.lang.String getHaid() {
		return haid;
	}

	public void setHaid(java.lang.String haid) {
		this.haid = haid;
	}

	public java.lang.String getOpendid() {
		return opendid;
	}

	public void setOpendid(java.lang.String opendid) {
		this.opendid = opendid;
	}

	public java.lang.String getNumbers() {
		return numbers;
	}

	public void setNumbers(java.lang.String numbers) {
		this.numbers = numbers;
	}

	public java.util.Date getAddtime() {
		return addtime;
	}

	public void setAddtime(java.util.Date addtime) {
		this.addtime = addtime;
	}

	public java.lang.String getAccountid() {
		return accountid;
	}

	public void setAccountid(java.lang.String accountid) {
		this.accountid = accountid;
	}

}
